package com.woniuxy.person.personiml;

import com.woniuxy.person.Person;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author: admin  <br/>
 * Date: 2022/1/17:17:06  <br/>
 * Description:
 */

public class Jsp implements Person {
    String name;
    int age;
    List<Integer> integers;
    Map<String,America> map;
    Set<Integer> set;
    List<Map<String,Integer>> mapList;
    List<America> americas;

    public Jsp(String name) {
        this.name = name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setIntegers(List<Integer> integers) {
        this.integers = integers;
    }

    public void setMap(Map<String, America> map) {
        this.map = map;
    }

    public void setSet(Set<Integer> set) {
        this.set = set;
    }

    public void setMapList(List<Map<String, Integer>> mapList) {
        this.mapList = mapList;
    }

    public void setAmericas(List<America> americas) {
        this.americas = americas;
    }

    @Override
    public void eat() {
        System.out.println("test");
    }

    public Jsp() {
    }

    @Override
    public String toString() {
        return "Jsp{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", integers=" + integers +
                ", map=" + map +
                ", set=" + set +
                ", mapList=" + mapList +
                ", americas=" + americas +
                '}';
    }
}
